package com.jiyun.service;

import com.jiyun.entity.XRole;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient("jiyun-role")
public interface RoleService {

    @RequestMapping("/xu/han/x-role/findAll")
    List<XRole> findAll();

}
